cp  /etc/sysconfig/network-scripts/ifcfg-eth0  /etc/sysconfig/network-scripts/ifcfg-br-ex         
sed s/DEVICE=eth0/DEVICE=br-ex/ -i /etc/sysconfig/network-scripts/ifcfg-br-ex  
sed -e 's/IPADDR=.*//' -e  's/NETMASK=.*//' -e 's/GATEWAY=.*//' -i  /etc/sysconfig/network-scripts/ifcfg-eth0
service network restart
